package config

type RouteConfig struct {
	Path         string `yaml:"path"`
	Service      string `yaml:"service"`
	AuthRequired bool   `yaml:"authRequired"`
}

type System struct {
	Env        string        `json:"-" yaml:"env"`
	ListenAddr string        `yaml:"listenAddr"`
	Upstreams  []RouteConfig `yaml:"routes"`
}
